package com.hsj.aop.annoaop;

import org.springframework.stereotype.Component;

@Component
public class AddImpl implements Add{
    @Override
    public int add(int a, int b ) {
        return a +b;
    }

    @Override
    public int sub(int a, int b) {
        return a*b;
    }
}
